package com.wzu.zlb.ems.service.impl;

import com.wzu.zlb.ems.dao.ProcessMapper;
import com.wzu.zlb.ems.pojo.Process;
import com.wzu.zlb.ems.service.ProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Service("processService")
public class ProcessServiceImpl implements ProcessService {

    @Autowired
    ProcessMapper processMapper;
    @Override
    public List<Process> findAllProcess() {
        return processMapper.findAllProcess();
    }
}
